package com.qianfeng.index_7005.service;

import com.qianfeng.entity.Result;
import com.qianfeng.entity.User;

public interface LoginService {

    User login(String username, String password);
    Result checkLogin(Integer userid);
    Result logout(Integer uid);
    Boolean checkEmail(String email);
    Integer registByEmail(String email,String password);
    void send(String tel) throws Exception;
    Result checkMsg(String tel,String code,String password);
    Boolean checkTel(String tel);
}
